package com.xiaotu.service.pgsql;

import com.xiaotu.dao.pgsql.PgsqlStarMapper;
import com.xiaotu.entity.ActorAwardModel;
import com.xiaotu.entity.StarDeleteRecordModel;
import com.xiaotu.entity.StarModel;
import com.xiaotu.entity.WorksAwardModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhangxiao
 * @create 2021-09-23 9:08
 */
@Service
public class PgsqlStarService {

    @Autowired
    private PgsqlStarMapper pgsqlStarMapper;

    public List<StarModel> needSyncs(String specifyDate) {
        return pgsqlStarMapper.needSyncs(specifyDate);
    }

    public List<ActorAwardModel> getStarAwards() {
        return pgsqlStarMapper.getStarAwards();
    }

    public List<StarDeleteRecordModel> getStarDeleteRecords() {
        return pgsqlStarMapper.getStarDeleteRecords();
    }

}
